config BR2_PACKAGE_OPENOBEX
	bool "openobex"
	depends on BR2_INET_IPV6
	help
	  Free open source implementation of the Object Exchange (OBEX)
	  protocol.

	  http://www.openobex.org

if BR2_PACKAGE_OPENOBEX

config BR2_PACKAGE_OPENOBEX_BLUEZ
	bool "enable bluez support"
	depends on !BR2_avr32
	depends on BR2_USE_WCHAR # libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
	depends on BR2_USE_MMU # dbus
	select BR2_PACKAGE_BLUEZ_UTILS

comment "bluez support require a toolchain with WCHAR and thread support"
	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

config BR2_PACKAGE_OPENOBEX_LIBUSB
	bool "enable libusb support"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	select BR2_PACKAGE_LIBUSB

comment "libusb support require a toolchain with thread support"
	depends on !BR2_TOOLCHAIN_HAS_THREADS

config BR2_PACKAGE_OPENOBEX_APPS
	bool "install test applications"
	help
	  Also install the openobex test applications on target.

config BR2_PACKAGE_OPENOBEX_SYSLOG
	bool "enable debugging to the system logger"

config BR2_PACKAGE_OPENOBEX_DUMP
	bool "enable protocol dumping for debugging"

endif

comment "openobex requires a toolchain with IPV6 support"
	depends on !BR2_INET_IPV6
